<template>
	<view style="height: 80rpx;" @click="openAddres" class="align-center j-sb">
		<block v-if="data">
			<text style="font-size: 28rpx;color: #333333;margin-left: 16rpx;">{{data}}</text>
		</block>
		<block v-else>
			<text style="font-size: 28rpx;color: #999999;margin-left: 16rpx;">请选择</text>
		</block>
		<image style="width: 17rpx;height: 31rpx;margin-right: 39rpx;"
			src="https://image.hbei.vip/1629277756936_534.png"></image>
	</view>
</template>

<script>
	export default {
		props: {
			data: {
				type: String,
				default: ''
			}
		},
		methods: {
			openAddres() {
				this.$emit('openAddres')
			}
		}
	}
</script>

<style>
</style>
